Updated API, fixed bug, new readme