Format Code; Start session handling