refactored interface, updated readme