Remove unused variables & add default assets dir.

1. remove unused variables in configs.
2. handle default assets dir as static dir.
Merge branch 'dev'