refactor package structure, use coffeescript 1.7