renaming init to createView
using grunt for mocha tests
update gitignore
fix adapter and use config from arguments
config for tests
remove old files