Added project creation, loading and closing code. Also added project templates via plugin