added application stuff and java