Move all code into a composer lib and include from there.