fix foreing key dependence in reset sql
update readme file
removed unused files
use interface
update models to use Server
import other jars