Base code finished

Basic getImg() function finished