Added timing getter code

Used a hash map to handle the timings. Also used a Ruby class to do the
same - but really it isn’t needed.