Cleaned up code. Renamed files. Added skeleton for PDF analysis