Converted application layout to HAML and used partials. Fixed global styles.