Add rudimentary command parsing and interpreting.
Add the login command and parsing for it (but no handling yet).