fixed issue with incorrect map cycle in collector
removed console.log
some fixes in collector
models separated from controllers as well as database.coffee moved to init folder
renamed controller`s core files for more convenience