simplify hash; add ability to payload upload
added endpoint for upload payload