added min file
some optimization and readme and whatnot