Move inline functions to bottom of header file

Making the class definition much prettier