Create public and tmp directories