Fixed import problems
Fixed some errors, better handling of not enough info (send back a 400)