form class updates

I have added more methods to the form class, now its almost ready.