splitting the core
crypto reference fix
Merge pull request #36 from andrija-hers/master

This PR sorted out a lot of style and structure issue in mean.js. Many thanks to @andrija-hers