move public directory inside library. set public directory location, create 404 haml page, add haml gem