added appsembler; cleaned up