Added initial set of constants, structs and functions.