Implemented base configuration. Now using Modulerrjs instead of requirejs.

Implemented base configuration. Now using Modulerrjs instead of requirejs. Cleaned up some packages.