Changed lots of stuff, make output 300x300, code is split into units(functions), included perspective transform, included demo images.