Fix merge errors in master.
Merge dev into mix-master
Missing anaphora dependency.
modify configs & default start script
update gitignore
recursive search libs
fix default config paths
compile all templates using wildcard