Added a logs system
Cleaned up elements