separate apl-lib and apl-compiler