moved main back to being a server, updated library with new blocks