added new property

Added the lastInsertId property to Usage and labeled some sections in the code