Adding convenience files.

Added enums to enhance code readability, remove magic numbers.