fix config.ru, add explicit reference to database, change layout.erb to ...

...index.erb, display ninja info on separate welcome screen