Moved the Image implementation

Now, as it should be, the Image class has its implementation in a separate cpp
file. Some reorganization issues to be resolved in next commits.