added inventory system
added header inclusion guards