gitignore fix
added metadata entity
metadata refactoring