Added gitignore
Added temporary timer functions (could be moved elsewhere). And moved away from using regexp to pattern match record types.