Added core class.
Core currently done.