created core package, moved core classes