added http routes for commands. Added browser test for profiles