Added Form Library Function, Added Controller Functions