Fixed InsertReservation method

A bit ugly but yeah..it works.

Also refactored some namings.