Removed not needed classes, implemented the post method.