rename componentType to component
add license and readme