made as meteor package
fixed circular dependency
Merge pull request #5 from sergeyt/master

package for meteor