Added code, updated README and LICENSE