Cleaned some files up
Added a more efficient mimetype lookup