implement style list/edit/save

- fix some path issues
- template improvements