Refactor

post object and relationship

Signed-off-by: Elliot Condon <e@elliotcondon.com>