Updated to new form api
Moved database setup into main
Added missing updateClient
Moved server creation into main
Added args func to templates
Split css
Put args declaration in correct position
Updated templates to specify style