Broke class Input into classes Input and Sql