Rearranged the API to split it into more logical units
Added a simple readme