fix mime typo
ignore empty mime during detection
apply sf2 codestyle
add LICENSE and update readme
composer psr-4, less file directory nesting