added profile generation in controller. renamed branch to store.