Added commands, fixed some bugs

Added console commands (server/client)
Fixed #7
Fixed #6