Implemented all functions
Added request class