Fixed exception namespacing and moved core methods down
Added getters/setters