added restart for convenience of rebuilding and starting, typing is hard; also added input (touch) code