added logging

Added logging, updated some config, updated readme, added license file.