Added basic class for post and get requests