General clean up and optimisations

- Started implementation of a file system

Signed-off-by: thehutch <52d5ad14@opayq.com>