Ignore codegen folder
Add mex function of test functions
Move test function implementation to "resource"
Move runners to src folder.