Added folders

Added a schema for folders and added parentfolder parameter to issues.