add, rm, ls functions implemented