fixing migrations mechanism, added initial migrations