Repository intialization - Java 8