Added migrations folder
Added version detail to version model and updated migrations and templates