Adding Profiles to Spring Configuration

Change-Id: Ic09f3210bce40d5eddad78ff4da1e90dc6787c92