Turned POST server into a class

Signed-off-by: Oz Ramos <3betters+oz@gmail.com>