Delete unused functions
Break profile into files