added backbone package model and corrected server side code and test