Set associations and started working on admin settings