Move scale_manage_collection_form and related functions to separated file.