move AKM to libs