Separated projetcs into multiple files. May clean it up later.
Fixed a local issue with temporary files.