Refactor Getter from database.
Remove unused functions.
Put in comments unused complex functions.
Remove lot of warning from intelliJ