Added repository functionality

Basic Doctrine repository functionality was added