Development of an er diagram and database implementation