added base_collection + base_model + corresponding tests. fixed errors in route.js + region.js