Fixed a bug in generating controller file and class names.
Added abstraction over $_FILES