Implemented the template of pages and some autobuild features