use haml for front-end app template, set up db connection, fix typo in starter code