todo as php, added functionality to add items via prompt