move baseline to its own package