initial build of principal app