Separated class definition and impelementation.
Updated Readme.