major refactoring - removing namespace

all core methods are now on top level