added better logging
removed lib files
added download feature