Updated profile entity. Profiles now getting saved
Tidied up some comments and use statements