Moving away of sqlx and init DB in main instead of server
Add tests for metric