ProfileController created and imlpemented

+ a few cosmetic changes in DAO classes