Added initial documentation

Also removed unused classes/exceptions