added and implemented ProjectWriter (not finished yet)
changed methods for adding elements
Some code optimizations