Initial steps

fixed the lamp issued occured during test, added some CRUD operations,
and basic stuff.