Fix/meta

Cache pojo's.
Fix tests.
Fix bugs.