Huge changes in profiles management and added support for user defined ones.