added more control commands and cleaned up

refactored line reset commands into the line struct