Move trekking mobile code into module