Add add-default-value to util.clj.
Add factory.clj.
Large change on resource.clj.
Now uses resource from resource.clj and add factory to its parameter.