Ditch legacy code from master branch

Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>