Loggin optimiaztion

- better loggin system
- better code design for the log system
Modifying Readme