Removed use of Parms.pl or other external files

Fixed bugs and appears to be a working alpha.  Further cleanup is needed
to simplify code and make it easier to follow, but for now it will work.