A weight loss app with just over 40 workers in Boston has appointed one of its earliest employees as chief executive.