added random sampling learning curve + refactoring
passive learning curve for em evaluation
first version of EM API
moved EM testing code to a separate package
EmAlgorithm class is no longer needed (implementation now in EmApi)