initial commit
fixed logging
fixes/added option to limit ram
changed logging behaviour