Remove old code

Signed-off-by: Ian Macalinao <ian@giza.us>
Add Model#constrain

Signed-off-by: Ian Macalinao <ian@giza.us>