updated readme with code type declarations