Adapted function names, moved README and added bin directory.