Added IntelliJ IDEA ignores
Implemented configuration for Mockito.when(…).thenReturn()
Implemented thenThrow()
Reorganized classes