Code for the server at Bloominglabs