Formal error handling
Added support for posting links, more documentation