Adding package config and move WebConfig.java