Fix bugs, add static methods, add a complete readme