added serializable stuff to Project class
fixed database references in classes with serializing functions