Added @OneToMany and @ManyToOne to classes