Added upgrade script skeleton
Added db table altering into upgrade script
Added todo
Table with ranges creation