More WIP, creating java objects in c