Added an exists check to the ScratchController.create() method.
Changed the @EnableJpaRepositories package scan so that it is set with a class instead of a string in the ScratchConfiguration class.