Added some documentation. Not using strings for request types
Some cleanup.
Initial version. Need more settings