fixed API
moved static and templates dirs
moved static and templates dirs
too many changes to mention