Renamed Classes, cleaned up code formatting

Renamed Semantria classes with a Semantria_ 'namespace'

Removed tab characters from code base

Renamed filenames for classes to match class name according to PSR-0

Changed some conditional structures to be more inline with PSR.