New design of database and application