incorporate MetaKey into IMeta
cleanup spaces and tabs
fix imports