Add support for logs with timestamp
Add support for parameters and timestamps
Refactoring for more modularized code