18 fix directories of statics and media

close #18