Added README and restructured code and compilation.