Hw3

Refactor for hw3, add post and get capabilities