move demo code to lammademo package