init composer

basic composer template
create mainclass
register mainclass in composer