Make this project compiable when off-line
Finished image overlay and add more test cases for it