Refactor src/ modules and build + packaging process

maybe we should add an object to grunt task to export the actual module instead of the default export or named export.