Added some interfaces, defines, updated a ton