Added state maintanance, added API, fixed message, made actions more sequential
Made the server module more useful