Refactor project layout. Add installation doc.