add docs
Class/Object structure rather than pseudo functional for addition
Try and sort cross origin stuff
add a gitignore