Working out some logic in my head which may optimize application loading.