Clean up Input class and update comments
Update DB structure
Update DB structure
Add Page Script Class
Add Page Template Class
Fix minor bug in Domain Class