Code cleanup

- Remove duplicate code
- Utilize korlib where possible
- Remove unused code
- Remove projects no longer used
- Update solution to remove projects no longer used
- __Fixes bug in Static Allocation Resolution Stage__