rename source to resource

Signed-off-by: Micky Ching <mickyching@gmail.com>