added rm command and fixed MANY bugs