move log to base dir
clearer log functionality
even clearer logging functionality