Object system rework. This closes #15.