Refactor classes for testing.
Add Glide\Server tests.
Add API interface.
Move exceptions to sub namespace.
Add factory to simplify server instantiation.
Move image output to new Output class.
Move image generation to new Generator class.