Refactoring

mimetypes properties file can now live outside the jar
fixed build.xml
updated readme
general code cleanup