Reorganize libraryDependencies
Optimize dependencies, added scalate template engine