Adding validations on server model
Added images tests and better handling/abstraction of docker-api