Init project when window loaded