Exposed repository and added basic functions to profile