set maximum post body size to 4196 bytes
removing `unwraps()` and replacing them with propper error handling remove unnecessary `clone()` calls
improve division of code into different modules