move class to implementation