moved controllers and models to classes direcotry and added user repository