core class and some test files