Implementation of blueimp

Just file handling left to do.