Corrected errors
Added simple DoRequest
Added simple (and incomplete) main