fix of removing mirrored files
all resource metadata moved to schema, added Post
embedding of related entities