Updated app to use thin