init
finished tasks

added http error handling and made bug fixes