reorganized files, added add cmd