check if file is empty
fixed indentation and updated info
cleaning up with namespace for packagist