Refactoring php, added colors and keywords