wip: added main view. fails to build in separated build dir