Building the master application