add for tests
add folsom for presences and messages
fix metrics generation and publish notify function
metrics refactor