Added migrations and local file management. Also moved Image model to this module