Initial import of agent
Initial import of server (not fully working yet)