cleanup code, write readme