Refactored files and directories. Added Request class for validation and parsing.