adding new template for book and analytics js file
minor cleanup of pom
build and deployment scripts like for nexus book to keep things easier