refactor profilemanager

now is centered around profile_id
added mongo interface support for meta