Added structure

Added some classes and utilities.