sort out ResourceInterface
Sort out models