updated some stuff to remove $app dependence and update read me a little