Evony Age 1 And 2 Automation (bot)

I’m looking to have a bot created for Evony Age 1 and 2.

www.evony.com

Key features:
Bot needs to have its own login and password and a central database which manages users.
Bot needs to read game information from memory.
Bot needs to send commands to game client via simulated keyboard/mouse input.

What gets sent back to the game client needs to be configurable. I’m not sure how to handle config management yet. I am open to ideas.