setup for backbone and cleanup db stuff