Code added to Code panel

Generate button in code panel will generate code for the given path