added Terminal interface and began with the dynamic database interface