added documentation
fixed deps
fixed main resource signature