Update file structure and implement measurement classes.

Split source files into interfaces, headers (core defines and such) and classes.
Implemented measurement classes that comply to the Measurement interface.