Issue #1

Mostly done log system.