Invoices on Main Level

Moved invoice script and support to main level.