Use lombok for equals and hashcode.
Move storage class to config package.