Updated express to version 4.x
Added doc and file models
Refactored to move sql into model files