update readme
extract functionality from app