Create base.js

Base router object