added backbone router and cleaned up init code