Remove windows line endings
add namespace and make PSR-2 compliant