broken to all hell - will be closed source when api implementation work starts