(*)fixing compiling error WIP
(*)move public files to public directory