Separate nemo and caja extension code