aaaaand it compiles, removed insanity by using namespace in .cpp files