Tests Battery Added

Also changed the location of the main.m and loadParameters.m files to
the project root.