more work on the api, thing's are starting to come together nicely now.