Clean up code style
Refactor class and add methor for parsing post body