remove unnecessary files
move ref.js closer to resolver
simplify code
remove usage of uglifyjs translator
improve resolving
reduce dependancy on basis api
fix resolver make broken build
don't parse json content if already parsed