fixed input parsing and indentation
starting work on starting a server