Restructured code. Adding README.