Removed unnecessary lines
Small improvements
Add configuration file main.php