Created bootstrap spring config. Tests updated.
Insert method implemented. More integration tests added.
Added method that checks if config exist in database.