remove testing code, expose algorithm parameters
move GA to optimisers