Introduction of Profile type and Constants file.
cleanup