Moths

Fixed a few bugs in the code, and added startItem function.