Repo creation
Added Image, refactored some of the init code