added main.less, javascript routes to add and open pages