move helpers and types in atlaas/common.hpp