Code for each method and most of the readme