add src folder and java code