Constructing a Database system from scratch for course project