Add public directory to host the assets pipeline, and basic ruby code and improve index.