increased curl buffer
created source directory
refactoring: moved curl code into separate file