move scaffold files to lib/sql, take user input and hook up to check answer on backend