Fixed documentation, created test stub code, added new scripts