Major refactoring. HttpPostRequest made better. Created Classes class