Forms function split

Split the check_form_type function switch so we can work in seperate
files. Comes in handy when we want to work on different forms at the
same time.