added public directory and moved into it