changed depends to imports and added importsFrom() to NAMESPACE for all imported functions