Post requests working

Also clean up and removing unneeded test files etc.