Updated generate method, return True if the generation was successful.
Updated import check method.
Moved logger into init file.