Combining two applications into one