mobile middleware