Changed name of main file
Added in unit tests for Main object