slight modifications to project related classes, ensuring id as int etc.