"Repository" Pattern Impl. and solution copied