Change api a bit
Added examples, got it working again with some updates to the API
Added some documentation