Move packages ui, db, model to package lotto