updated readme, package info and some minor code