调整目录结构，引入requirejs组织代码

Signed-off-by: south-pacific <leipchy@gmail.com>