Re-factored header and comments for end-user usability and readability