added globals file with generic return codes and bool type for use and overhaul.
overhauled location to use status exit codes instead of integers
added basic typedefs to entity and item headers