require constraints class
add spec
add spec helper
add ApiConstraints class
cleanup auto load