MagnumJS - core code library