Integrated server object

For some reason server.py wasn't included in the last commit.