setting up base library for backbone integration