Little changes
Converted errno to exceptions
Return objects instead of pointers
Merge branch 'exceptions' into HEAD