A simple component based restful framework