move camera libs into main