modularized, db entry and a basic schema added