Move common libraries to ape folder.