Refactor some resources to make project more general. Add some content to README file