Improve master-slave connections + add frontend skeleton