Feature/example: Adding examples, fixing Thrift confusion and general cleanup.