Finally fixed the structure. Should be possible to setup primary functionality now