Added setup tools. Some refactoring. Not working entry_points