working on main loop now. commands, etc...