updated dir structure, moved rails application to separate project