Refactor UI classes, add event for projects, add style for project table