added composer and initialized
file name is adjusted for composer
removed old syntax
moved definition
replaced define var
added migration script