implemented initial parts and migrations class