use App class to create container and use it for template setting.
use Template's new setDefault to set basePath.
updated composer.lock with latest package.