Added comments and a New workspace button

Added comments in the functions
Added New button to the context menu