Updated.
Added variables and lib files.
Added a test.