Basics for repository pattern added. The user AR was also added.