first attempt at migrating p2 magazine to sinatra