some cleanup for scala support
add extra configuration
move conf file to the after directory
adding more scala support