Add code, packaging and update README