front() and back() helper functions moved to separate file, updated copyright info