Started implementing portalgo_randport/hive

not checked yet