fix bug of static members in spiders
add constraint foreign key
add git ignore file