Fix duplicate classes by defining scopes, API for compilation, implementation during runtime.
Use joda-time, because SimpleDateFormat is *not threadsafe*.